<?php
session_start();
require_once ( 'inc/function.php' );

$smarty = new Smarty;

$DB = NewADOConnection('mysql');
$DB->Connect('localhost', $sql_user, $sql_pass, $sql_dbase);

$login = $_SESSION['login'];

echo "$login";

log_check($login);

$smarty->display('start.tpl');

?>